<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>东明家居销售部考核系统</title>
<!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
<![endif]-->
    <link rel="shortcut icon" href="./images/icon.png" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico">
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/font-awesome.min.css" rel="stylesheet">
<link href="./css/animate.css" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
    <link href="./js/toastr/toastr.css" rel="stylesheet">
    <script src="./vue/vue.min.js"></script>
    <script src="./vue/iview.min.js"></script>
    <link href="./vue/iview.css" rel="stylesheet">
</head>
<body class="white-bg">

<div id="app" class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox-content ibox-content-search" >
        <form class="form-horizontal" style="margin-bottom: 10px">
            <div class="col-sm-2" style="width: 160px" >
                <select class="form-control"  name="" id="StoreSelect">
                </select>
            </div>
            <div class="col-sm-2" style="width: 155px">
            <select class="form-control"  name="" id="PostSelect">
            </select>
            </div>
            <button class="btn btn-success" style="background:#7B7B7B;border:#7B7B7B" type="button" @click="querytable('1','99999999')"><i class="fa fa-search"></i>&nbsp;<span>搜索</span></button>
        </form>
    </div>
    <!-- 搜索条件结束 -->

    <!-- 搜索结果开始 -->
    <i-table border="true" stripe :columns="columns1" size="large" :data="historyData" no-data-text="请点击搜索查看数据" style="width:100%"></i-table>
    <br /> <br />
    <!--<Page :total="dataCount" :page-size="pageSize" @on-change="changepage" show-total></Page>-->
    <!-- 搜索结果结束 -->
    <div>
        <Modal v-model="editDataModalFlag" title="编辑详情" @on-ok="doEditData">
            <Form :model="standardObject" :label-width="100" >
                <div class="form-group col-sm-12">
                    <FormItem label="中心店面" class="col-sm-3 control-label">中心店面</FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.Store" placeholder="请输入" class="input-select-class" readonly="readonly" />
                    </div>
                </div>

                <div class="form-group col-sm-12">
                    <FormItem label="岗位" class="col-sm-3 control-label">岗位 </FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.Post" placeholder="请输入" class="input-select-class" readonly="readonly"/>
                    </div>
                </div>

                <div class="form-group col-sm-12">
                    <FormItem label="类别" class="col-sm-3 control-label">类别</FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.CName" placeholder="请输入" class="input-select-class" readonly="readonly" />
                    </div>
                </div>

                <div class="form-group col-sm-12">
                    <FormItem label="项目" class="col-sm-3 control-label">项目</FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.PName" placeholder="请输入" class="input-select-class" readonly="readonly" />
                    </div>
                </div>

                <div class="form-group col-sm-12">
                    <FormItem label="岗位标准" class="col-sm-3 control-label">岗位标准</FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.Name" placeholder="请输入" class="input-select-class" style="border-color: red" />
                    </div>
                </div>

                <div class="form-group col-sm-12">
                    <FormItem label="基数" class="col-sm-3 control-label">基数(元)</FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.Base" placeholder="请输入" class="input-select-class" style="border-color: red"  id="Base" />
                    </div>
                </div>

                <div class="form-group col-sm-12">
                    <FormItem label="占比(%)" class="col-sm-3 control-label">占比(%)</FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.Proportion" placeholder="请输入小数点不超过两位的数字" class="input-select-class" style="border-color: red"  id="Proportion"/>
                    </div>
                </div>

                <div class="form-group col-sm-12">
                    <FormItem label="金额" class="col-sm-3 control-label">金额(元)</FormItem>
                    <div class="col-sm-8">
                        <Input class="form-control" v-model="standardObject.Money =( standardObject.Base * standardObject.Proportion /100).toFixed(2)" readonly="readonly" placeholder="请输入" class="input-select-class"/>
                    </div>
                </div>
            </Form>
        </Modal>
    </div>
</div>

<!-- 全局js -->
<script src="./js/jquery.min.js?v=2.1.4"></script>
<script src="./js/bootstrap.min.js?v=3.3.6"></script>
<script src="./js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="./js/criterion/criterion_search.js"></script>
<script src="./js/toastr/toastr.min.js"></script>
<!-- 自定义js -->
<script src="./js/content.js?v=1.0.0"></script>

</body>
</html>
